import patrolDetailTpl from './patrolDetail.html';
import patrolDetailCtrl from './patrolDetail.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('patrolDetail', {
      parent: 'index',
      url: '/patrol/detail/:id',
      templateUrl: patrolDetailTpl,
      controller: patrolDetailCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
